<template>
  <div class="container containerBox">
    <el-row>
      <el-col class="topTitle">{{ info.title }}</el-col>
    </el-row>
    <div class="mainCon">
      <div class="news">
        <div class="title">
          <el-row type="flex" class="row-bg" justify="space-around" :offset="2">
            <el-col :span="8">发布时间：{{ info.title }}</el-col>
            <el-col :span="8">来源：{{ info.title }}</el-col>
            <el-col :span="8">发布：{{ info.title }}</el-col>
          </el-row>
        </div>
        <div class="content">
          <p>
            为贯彻落实《国务院关于加快发展康复辅助器具产业的若干意见》（国发〔2016〕60号），我厅草拟了《省人民政府关于加快发展康复辅助器具产业的实施意见（征求意见稿）》，现向社会公开征求意见。
            此次公开征求意见时间为2017年9月6日至2017年9月12日，意见请发送至电子邮箱553914575@qq.com。
          </p>
          <div class="attachmentBox">
            感谢您的参与和支持！
            <br />
            附件：
            <br />
            <span class="attachment"
              ><!--省人民政府关于加快发展康复辅助器具产业的实施意见（征求意见稿）.doc--></span
            >
          </div>
        </div>
        <div class="btn clearfix">
          <div class="lastBtn">
            <el-button type="primary">上一篇</el-button
            ><span>关于向社会公开征求意见的公告（含附件)</span>
          </div>
          <div class="nextBtn">
            <el-button type="primary">下一篇</el-button
            ><span>关于向社会公开征求意见的公告（含附件)</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'messageDetail',
  data() {
    return {
      unReadFlag: 1,
      id: '',
      info: {},
    }
  },
  activated() {},
  created() {
    this.id = this.$route.query.id
    this.getDetail(this.id)
  },

  methods: {
    getDetail(id) {
      this.axios({
        method: 'post',
        url: 'api-i/infocenter/expand/findalertidbyid',
        data: {
          id: id,
        },
      })
        .then((response) => {
          this.info = response.data.result
        })
        .catch((error) => {
          this.$message.error('数据获取失败')
        })
    },
  },
}
</script>
<style scoped lang="less">
.topTitle {
  height: 67px;
  background-color: #e4ebf1;
  padding-left: 24px;
  font: bold 18px/67px Microsoft YaHei;
  text-align: center;
}
.redColor {
  color: #ff0000;
}
.grayColor {
  color: #999;
}
.container {
  .mainCon {
    top: 199px;
    .news {
      .title {
        width: 100%;
        height: 40px;
        line-height: 40px;
        margin: 0 auto;
        background: #f9fafc;
        font-size: 12px;
        color: #666;
        .el-row {
          width: 70%;
          margin: 0 auto;
          text-align: center;
        }
      }
      .content {
        margin-top: 20px;
        font-size: 14px;
        p {
          line-height: 40px;
          text-indent: 30px;
        }
        .attachmentBox {
          margin-left: 30px;
          line-height: 40px;
          .attachment {
            color: #2d64b3;
          }
        }
      }
      .btn {
        width: 100%;
        margin-top: 40px;
        span {
          display: inline-block;
          height: 100%;
          padding: 10px 20px;
          background: #f9fafc;
        }
        .lastBtn {
          float: left;
        }
        .nextBtn {
          float: right;
        }
      }
    }
  }
}
</style>
